from matplotlib import pyplot as plt


x = [1,2,3,4,5]
y = [3,5,1,4,9]
# 设置画布大小
fig = plt.figure(figsize=(5,5))
plt.title()

#折现图
plt.plot(x,y)
# plt.show()
#散点图
plt.scatter(x,y)
plt.show()
